package org.springblade.modules.repair.vo.elevator;

import cn.hutool.core.convert.Convert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2023/10/30 9:02
 */
@Data
@ApiModel("电梯健康数据model")
public class ElevatorHealthVo {

	@ApiModelProperty("使用年限")
	private String userYear;

	@ApiModelProperty("健康分默认85")
	private BigDecimal healthScore = Convert.toBigDecimal(85);

	@ApiModelProperty("1:正常运行0:表示维修中")
	private Integer status = 1;

	@ApiModelProperty("待处理的隐患")
	private Integer unDisposeCounts = 0;

	@ApiModelProperty("外观清洁")
	private BigDecimal faceScore = Convert.toBigDecimal(100);

	@ApiModelProperty("外观清洁")
	private Integer faceScoreCounts = 0;

	@ApiModelProperty("功能分")
	private BigDecimal functionalScore = Convert.toBigDecimal(100);

	@ApiModelProperty("功能分")
	private Integer functionalScoreCounts = 0;

	@ApiModelProperty("润滑分")
	private BigDecimal lubricatingScore = Convert.toBigDecimal(100);

	@ApiModelProperty("润滑分")
	private Integer lubricatingScoreCounts = 0;

	@ApiModelProperty("测量分")
	private BigDecimal measurementScore = Convert.toBigDecimal(100);

	@ApiModelProperty("测量分")
	private Integer measurementScoreCounts = 0;

	List<ElevatorPlanVo> list;

	List<ElevatorPartWorkVo> workVoList;
}
